package com.pllandxzx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pll.pojo.Role;
import com.pllandxzx.bean.MenuBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName：RoleMapper
 * @Author: 阿⭐
 * @Date: 2025/6/10 10:28
 * @Description: TODO
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    Integer deleteRolePermission(@Param("roleId") int roleId);

    Integer putRolePermission(@Param("roleId")int roleId,@Param("menuIds") List<Integer> menuIds);

}
